#ifndef ZGQTOOL_POINTF_H
#define ZGQTOOL_POINTF_H

#include <ostream>

namespace zgq {
	class PointF {
	public:
		PointF();
		PointF(const PointF& data);
		void operator=(const PointF& data);
		PointF operator+(const PointF& data);
		PointF operator-(const PointF& data);
		bool operator==(const PointF& data);
		bool operator!=(const PointF& data);

		PointF(double x, double y);
		double x()const;
		double y()const;
		void setX(int x);
		void setY(int y);
	private:
		double m_X;
		double m_Y;
		friend std::ostream& operator <<(std::ostream& os, const PointF& data);
	};
}


#endif